package com.plant.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * UgcWeixinUserinf entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "ugc_weixin_userinf", catalog = "mr_plants")
public class UgcWeixinUserinf implements java.io.Serializable {

	// Fields

	private Integer id;
	private String city;
	private String country;
	private String headimgurl;
	private String language;
	private String nickname;
	private String unionId;
	private String openId;
	private String province;
	private String sex;

	// Constructors

	/** default constructor */
	public UgcWeixinUserinf() {
	}

	/** full constructor */
	public UgcWeixinUserinf(String city, String country, String headimgurl,
			String language, String nickname, String unionId, String openId,
			String province, String sex) {
		this.city = city;
		this.country = country;
		this.headimgurl = headimgurl;
		this.language = language;
		this.nickname = nickname;
		this.unionId = unionId;
		this.openId = openId;
		this.province = province;
		this.sex = sex;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "city", length = 66)
	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@Column(name = "country", length = 88)
	public String getCountry() {
		return this.country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	@Column(name = "headimgurl")
	public String getHeadimgurl() {
		return this.headimgurl;
	}

	public void setHeadimgurl(String headimgurl) {
		this.headimgurl = headimgurl;
	}

	@Column(name = "language", length = 88)
	public String getLanguage() {
		return this.language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	@Column(name = "nickname", length = 66)
	public String getNickname() {
		return this.nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	@Column(name = "union_id")
	public String getUnionId() {
		return this.unionId;
	}

	public void setUnionId(String unionId) {
		this.unionId = unionId;
	}

	@Column(name = "open_id")
	public String getOpenId() {
		return this.openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	@Column(name = "province", length = 88)
	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	@Column(name = "sex", length = 32)
	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

}